package com.jg.service.impl;

import com.jg.dao.DepartmentDao;
import com.jg.dao.impl.DepartmentDaoImpl;
import com.jg.entity.Department;
import com.jg.service.DepartmentService;

import java.util.List;

/**
 * @author 86130
 * @version 1.0
 * @description: TODO
 * @date 2025/4/21 上午9:58
 */
public class DepartmentServiceImpl implements DepartmentService {
    DepartmentDao departmentDao = new DepartmentDaoImpl();

    @Override
    public List<Department> getAllDepartments() {
        return departmentDao.getAllDepartments();
    }
}
